package com.hdoit.kylin.logical.proposal.dao;

import java.util.List;

import com.tennetcn.common.dao.base.ISuperDao;
import com.tennetcn.common.message.DaoBaseException;
import com.tennetcn.common.message.SearchModel;
import com.hdoit.kylin.logical.proposal.model.Proposal;
/**
 * @author      tanzulie
 * @email       
 * @createtime  2017年08月01日 14:59:04
 * @comment
 */
public interface IProposalDao extends ISuperDao<Proposal>{

	List<Proposal> queryListByLoginId(String loginId,String groupId,String role);

	public int queryCount(SearchModel search,String loginId, String role) throws DaoBaseException;

	public int queryCount(String proposalName, String loginId, String role);

	public List<Proposal> queryListByProposalName(String proposalName);

}